#!bin/bash


#查找出系统的前三个系统用户

while read line ;do
   id=$(echo "$line" | awk -F: '{print $3}')
   user=$(echo "$line" | awk -F: '{print $1}')
   case $id in
   1|2|3)
   echo "$user"
   ;;
   esac
done < /etc/passwd
